package com.donger.common.core.constant;

/**
 * 公共常量
 *
 * @author xyx
 */
public interface CommonConstants {


    Long SUPER_ADMIN = 1L;

    /**
     * 通用用户角色
     */
    String BASE_ROLE = "ROLE_USER";

    /**
     * 角色前缀
     */
    String ROLE = "ROLE_";

    /**
     * 实体类删除标记
     */
    String DELETE_FLAG = "1";

    /**
     * 实体类正常标记
     */
    String NORMAL_FLAG = "0";

    /**
     * 响应成功码
     */
    int SUCCESS_CODE = 0;

    /**
     * 响应失败码
     */
    int FAIL_CODE = 1;

    String CREATE_BY = "createBy";

    String CREATE_TIME = "createTime";

    String UPDATE_TIME = "updateTime";

    String DEL_FALG = "delFlag";


    /**
     * redis 验证码 key
     */
    String DEFAULT_CAPTCHA_KEY = "DEFAULT_CAPTCHA_KEY_";

    String DEFAULT_PHONE_KEY = "DEFAULT_PHONE_KEY_";

    /**
     * JSON 资源
     */
    String CONTENT_TYPE = "application/json; charset=utf-8";


    String BUCKET_NAME = "7326";


    /**
     * 前端工程名
     */
    String FRONT_END_PROJECT = "base-boot-ui";

    /**
     * 后端工程名
     */
    String BACK_END_PROJECT = "base-boot";

}
